/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/*
 * PnlEditDeType.java
 *
 * Created on 2 ก.พ. 2553, 17:43:38
 */

package Inventory;

/**
 *
 * @author Poko
 */
public class PnlEditDetailType extends javax.swing.JPanel {

    /** Creates new form PnlEditDeType */
    public PnlEditDetailType() {
        initComponents();
    }

    /** This method is called from within the constructor to
     * initialize the form.
     * WARNING: Do NOT modify this code. The content of this method is
     * always regenerated by the Form Editor.
     */
    @SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {

        pnlHeadDeType = new javax.swing.JPanel();
        lblHeadEditDeType = new javax.swing.JLabel();
        btnDeTypeEditSave = new javax.swing.JButton();
        btnDeTypeEditCancel = new javax.swing.JButton();
        btnDeTypeEditDel = new javax.swing.JButton();
        btnDeTypePrint = new javax.swing.JButton();
        pnlEditDeType = new javax.swing.JPanel();
        lblTyCode = new javax.swing.JLabel();
        txtTyCode = new javax.swing.JTextField();
        lblSupCode = new javax.swing.JLabel();
        txtSupCode = new javax.swing.JTextField();
        lblDTCode = new javax.swing.JLabel();
        txtDTCode = new javax.swing.JTextField();

        setMaximumSize(new java.awt.Dimension(700, 500));
        setMinimumSize(new java.awt.Dimension(700, 500));
        setLayout(new java.awt.BorderLayout());

        pnlHeadDeType.setBackground(new java.awt.Color(204, 255, 204));
        pnlHeadDeType.setMaximumSize(new java.awt.Dimension(700, 80));
        pnlHeadDeType.setMinimumSize(new java.awt.Dimension(700, 80));
        pnlHeadDeType.setPreferredSize(new java.awt.Dimension(700, 80));

        lblHeadEditDeType.setFont(new java.awt.Font("Tahoma", 1, 16));
        lblHeadEditDeType.setText("รายละเอียดประเภท");

        btnDeTypeEditSave.setIcon(new javax.swing.ImageIcon(getClass().getResource("/icon/save_30x30.gif"))); // NOI18N

        btnDeTypeEditCancel.setIcon(new javax.swing.ImageIcon(getClass().getResource("/icon/cancel_30x30.gif"))); // NOI18N

        btnDeTypeEditDel.setIcon(new javax.swing.ImageIcon(getClass().getResource("/icon/del_30x30.gif"))); // NOI18N

        btnDeTypePrint.setIcon(new javax.swing.ImageIcon(getClass().getResource("/icon/print_30x30.gif"))); // NOI18N

        javax.swing.GroupLayout pnlHeadDeTypeLayout = new javax.swing.GroupLayout(pnlHeadDeType);
        pnlHeadDeType.setLayout(pnlHeadDeTypeLayout);
        pnlHeadDeTypeLayout.setHorizontalGroup(
            pnlHeadDeTypeLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(pnlHeadDeTypeLayout.createSequentialGroup()
                .addGap(20, 20, 20)
                .addGroup(pnlHeadDeTypeLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(lblHeadEditDeType)
                    .addGroup(pnlHeadDeTypeLayout.createSequentialGroup()
                        .addGap(0, 0, 0)
                        .addComponent(btnDeTypeEditSave, javax.swing.GroupLayout.PREFERRED_SIZE, 40, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                        .addComponent(btnDeTypeEditCancel, javax.swing.GroupLayout.PREFERRED_SIZE, 40, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                        .addComponent(btnDeTypeEditDel, javax.swing.GroupLayout.PREFERRED_SIZE, 40, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                        .addComponent(btnDeTypePrint, javax.swing.GroupLayout.PREFERRED_SIZE, 38, javax.swing.GroupLayout.PREFERRED_SIZE)))
                .addContainerGap(492, Short.MAX_VALUE))
        );
        pnlHeadDeTypeLayout.setVerticalGroup(
            pnlHeadDeTypeLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(pnlHeadDeTypeLayout.createSequentialGroup()
                .addGap(11, 11, 11)
                .addComponent(lblHeadEditDeType)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(pnlHeadDeTypeLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                    .addComponent(btnDeTypePrint)
                    .addComponent(btnDeTypeEditSave, javax.swing.GroupLayout.PREFERRED_SIZE, 40, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(btnDeTypeEditCancel, javax.swing.GroupLayout.PREFERRED_SIZE, 40, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(btnDeTypeEditDel, javax.swing.GroupLayout.PREFERRED_SIZE, 40, javax.swing.GroupLayout.PREFERRED_SIZE)))
        );

        add(pnlHeadDeType, java.awt.BorderLayout.PAGE_START);

        lblTyCode.setFont(new java.awt.Font("Tahoma", 0, 12));
        lblTyCode.setText("รหัสประเภทสินค้า :");

        txtTyCode.setFont(new java.awt.Font("Tahoma", 0, 12));

        lblSupCode.setFont(new java.awt.Font("Tahoma", 0, 12));
        lblSupCode.setText("รหัสผู้จำหน่าย :");

        txtSupCode.setFont(new java.awt.Font("Tahoma", 0, 12));

        lblDTCode.setFont(new java.awt.Font("Tahoma", 0, 12));
        lblDTCode.setText("รหัสรายละเอียดประเภท :");

        txtDTCode.setFont(new java.awt.Font("Tahoma", 0, 12));

        javax.swing.GroupLayout pnlEditDeTypeLayout = new javax.swing.GroupLayout(pnlEditDeType);
        pnlEditDeType.setLayout(pnlEditDeTypeLayout);
        pnlEditDeTypeLayout.setHorizontalGroup(
            pnlEditDeTypeLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(pnlEditDeTypeLayout.createSequentialGroup()
                .addGap(20, 20, 20)
                .addGroup(pnlEditDeTypeLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(lblDTCode, javax.swing.GroupLayout.Alignment.TRAILING)
                    .addComponent(lblTyCode, javax.swing.GroupLayout.Alignment.TRAILING)
                    .addComponent(lblSupCode, javax.swing.GroupLayout.Alignment.TRAILING))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addGroup(pnlEditDeTypeLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(txtTyCode, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.PREFERRED_SIZE, 175, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(txtSupCode, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.PREFERRED_SIZE, 175, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(txtDTCode, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.PREFERRED_SIZE, 175, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addContainerGap(374, Short.MAX_VALUE))
        );
        pnlEditDeTypeLayout.setVerticalGroup(
            pnlEditDeTypeLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(pnlEditDeTypeLayout.createSequentialGroup()
                .addGap(20, 20, 20)
                .addGroup(pnlEditDeTypeLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(lblDTCode, javax.swing.GroupLayout.PREFERRED_SIZE, 18, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(txtDTCode, javax.swing.GroupLayout.PREFERRED_SIZE, 21, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(pnlEditDeTypeLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(lblTyCode, javax.swing.GroupLayout.PREFERRED_SIZE, 18, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(txtTyCode, javax.swing.GroupLayout.PREFERRED_SIZE, 21, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(pnlEditDeTypeLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(lblSupCode, javax.swing.GroupLayout.PREFERRED_SIZE, 18, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(txtSupCode, javax.swing.GroupLayout.PREFERRED_SIZE, 21, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addContainerGap(325, Short.MAX_VALUE))
        );

        add(pnlEditDeType, java.awt.BorderLayout.CENTER);
    }// </editor-fold>//GEN-END:initComponents


    // Variables declaration - do not modify//GEN-BEGIN:variables
    private javax.swing.JButton btnDeTypeEditCancel;
    private javax.swing.JButton btnDeTypeEditDel;
    private javax.swing.JButton btnDeTypeEditSave;
    private javax.swing.JButton btnDeTypePrint;
    private javax.swing.JLabel lblDTCode;
    private javax.swing.JLabel lblHeadEditDeType;
    private javax.swing.JLabel lblSupCode;
    private javax.swing.JLabel lblTyCode;
    private javax.swing.JPanel pnlEditDeType;
    private javax.swing.JPanel pnlHeadDeType;
    private javax.swing.JTextField txtDTCode;
    private javax.swing.JTextField txtSupCode;
    private javax.swing.JTextField txtTyCode;
    // End of variables declaration//GEN-END:variables

}
